package cn.edu.scau.cmi.luochenghao.chapter05;

class People{
	int leg,hand;
	String name;
	People(String s){
		name=s;
		this.init();
	}
	void init() {
		leg=2;
		hand=2;
		System.out.println(name+"有"+hand+"只手"+leg+"条腿");
	}
}

public class Exmaple5_10 {

	public static void main(String[] args) {
		People boshi=new People("布什");
	}
}
